package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 提现费用管理对象 biz_cashout_fee
 *
 * @author weijianbo
 * @date 2021-03-16
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_cashout_fee")
public class BizCashoutFee implements Serializable {

private static final long serialVersionUID=1L;


    /** 主键 */
    @TableId(value = "id")
    private Long id;

    /** 提现最小金额 */
    @Excel(name = "提现最小金额")
    private BigDecimal minAmount;

    /** 服务费 */
    @Excel(name = "服务费")
    private BigDecimal serviceCharge;

    /** 费率 */
    @Excel(name = "结算账户费率")
    private BigDecimal rate;

    /** 费率 */
    @Excel(name = "奖励账户费率")
    private BigDecimal rewardRate;

    /** 提现类型 */
    @Excel(name = "提现类型")
    private Long cashoutType;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
